@rightWidth: 200px;

.ant-layout-content {
  margin: 0 !important;
}

.drags-new-edit {
  position: relative;
  height: 1800px;
  .animate-flow {
    animation: glow 1s infinite linear reverse;
  }

  @keyframes glow {
    0% {
      border-color: #393;
      box-shadow: 0 0 5px rgba(0, 255, 0, .2), inset 0 0 5px rgba(0, 255, 0, .1), 0 1px 0 #393;
    }
    100% {
      border-color: #6f6;
      box-shadow: 0 0 20px rgba(0, 255, 0, .6), inset 0 0 10px rgba(0, 255, 0, .4), 0 1px 0 #6f6;
    }
  }
  .uplaodMain {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 200px;
    img {
      width: 100%;
    }
  }

  .sortItems {
    z-index: 1000;
    position: fixed;
    width: 200px;
    left: 0;
    top: 0;
    bottom: 0;
    overflow: scroll;
    background: #fff;
    transform: translateY(100%);
    .sort-item {
      width: 100%;
      padding: 5px;
      .sortImg {
        width: 50px;
        height: 50px;
      }
    }
  }
  .slideInUp {
    animation: slideInUp .5s ease both;
  }

  @keyframes slideInUp {
    0% {
      transform: translateY(100%);
    }
    100% {
      transform: translateY(0%);
    }
  }
  .operator {
    position: relative;
    height: 100%;
    .header-operator {
      position: absolute;
      min-height: 50px;
      width: 100%;
      background-color: #fff;
      .menu_selectItem {
        display: flex;
        .upload-design {
          width: 100%;
        }
        input {
          width: 50%;
          flex: 1 1 auto;
          outline: none;
          height: 26px;
          border: 1px solid #e1e1e1;
          border-radius: 4px;
        }
        div {
          &:active {
            box-shadow: 0 1px 3px rgba(0, 0, 0, 28);
          }
          width: 50%;
          flex: 1 1 auto;
          border: 1px solid #e1e1e1;
          background-color: #ffffff;
          cursor: hand;
          position: relative;
        }
      }
    }
    .flex {
      display: flex;
      position: absolute;
      top: 50px;
      bottom: 0;
      left: 0;
      right: 0;
      .right-operator {
        width: @rightWidth;
        background: #fff;
        transition: .8s;
        .toggle-right-operator {
          position: absolute;
          width: 0;
          height: 0;
          border-top: 10px solid transparent;
          border-bottom: 10px solid transparent;
          border-right: 10px solid #000;
          border-left: 10px solid transparent;
          top: 50%;
          transform: translateY(-50%) translateX(-100%);
        }
        .submit {
          width: 100%;
          .view {
            border: 1px solid #e1e1e1;
            width: 100%;
            height: 300px;
            overflow: scroll;
            word-break: break-word;
          }
          .ant-btn {
            margin-left: 0;
          }
          .button {
            width: 100%;
            height: 50px;
            text-align: center;
            line-height: 50px;
            font-size: 20px;
            outline: none;
            background-color: rgba(225, 225, 225, 0.12);
            margin-top: 2px;
            &:active {
              box-shadow: 0 1px 2px rgba(100, 100, 20, .5);
            }
          }
        }
      }
      .content-operator {
        position: relative;
        flex: 1;
        border: 1px dashed #333;
      }
    }

    .mini-tool-bar {
      position: absolute;
      transition: .8s linear;
      background: #fff;
      min-width: 400px;
      height: 50px;
      top: -50px;
      z-index: 50;
      display: flex;
      justify-content: space-around;
      align-items: center;
      li {
        text-align: center;
        display: flex;
        justify-content: space-around;
        align-items: center;
        .item {
          position: relative;
          display: inline-block;
          padding: 4px 7px;
          width: 100%;
          height: 28px;
          font-size: 12px;
          cursor: default;
          line-height: 1.5;
          color: rgba(0, 0, 0, 0.65);
          background-color: #fff;
          background-image: none;
          border: 1px solid #d9d9d9;
          border-radius: 4px;
          -webkit-transition: all .3s;
          -o-transition: all .3s;
          transition: all .3s;
        }
      }
    }

    .bottom-tool-bar {
      position: fixed;
      bottom: 0;
      left: 50%;
      z-index: 100;
      transform: translateX(-50%);
      width: 500px;
      height: 50px;
      display: flex;
      justify-content: space-around;
      align-items: center;
      background: rgba(0, 0, 0, .3);

      li {
        text-align: center;
        display: flex;
        justify-content: space-around;
        align-items: center;
        .item {
          position: relative;
          display: inline-block;
          padding: 4px 7px;
          width: 100%;
          height: 28px;
          font-size: 12px;
          cursor: default;
          line-height: 1.5;
          color: rgba(0, 0, 0, 0.65);
          background-color: #fff;
          background-image: none;
          border: 1px solid #d9d9d9;
          border-radius: 4px;
          -webkit-transition: all .3s;
          -o-transition: all .3s;
          transition: all .3s;
        }
      }
    }
    .picture-editor {
      position: static;
    }
    .ant-card {
      position: absolute;
    }
    .ant-card-body {
      padding: 0;
    }
    .ant-input-number {
      width: 100%;
    }
  }
}
